* {
  margin: 0;
  padding: 0;
}

/*导入新字体*/
@font-face {
  font-family: 'iconfont';
  src: url('../img/font/iconfont.eot');
  src: url('../img/font/iconfont.eot') format('emcbedded-opentype'),
    url('../img/font/iconfont.woff') format('woff'),
    url('../img/font/iconfont.ttf') format('truetype'),
    url('../img/font/iconfont.svg#iconfont') format('svg');
}

a:link,
a:visited {
  text-decoration: none;
  color: #333;
}

body {
  font-family: '微软雅黑';
  color: #14191e;
}

/*轮播图的样式*/
.main {
  width: 1200px;
  height: 460px;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
}

.banner {
  width: 1200px;
  height: 460px;
  overflow: hidden;
  position: relative;
}

.banner-slide {
  width: 1200px;
  height: 460px;
  float: left;
  background-repeat: no-repeat;
  display: none;
}

.slide-active {
  display: block;
}

.slide1 {
  background-image: url('../img/bg1.jpg');
}

.slide2 {
  background-image: url('../img/bg2.jpg');
}

.slide3 {
  background-image: url('../img/bg3.jpg');
}

.button {
  position: absolute;
  width: 40px;
  height: 80px;
  left: 244px;
  top: 50%;
  margin-top: -40px; /*高的一半*/
  background: url('../img/arrow.png') no-repeat center center;
}

.button:hover {
  background-color: #333;
  opacity: 0.8; /*不透明度*/
  filter: alpha(opacity=80); /*兼容其他浏览器*/
}

.prev {
  transform: rotate(180deg); /*左箭头旋转180度*/
}

.next {
  left: auto;
  right: 0;
}

.dots {
  position: absolute;
  right: 0;
  bottom: 24px;
  text-align: right;
  line-height: 12px;
  padding-right: 24px;
}

.dots span {
  display: inline-block; /*水平显示*/
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(7, 17, 27, 0.4); /*a=0.4=半透明度*/
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8) inset; /*白色描边 inset：内阴影*/
  margin-left: 8px;
  cursor: pointer;
}

.dots span.active {
  /*span和.active之间少了一个空格，按钮没背景白色，害我检查了1个小时*/
  box-shadow: 0 0 0 2px rgba(7, 17, 27, 0.4) inset;
  background-color: #fff;
}

/*导航菜单样式*/

.menu-box {
  width: 244px;
  height: 460px;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(7, 17, 27, 0.5);
  opacity: 0.5;
  z-index: 1;
}

.menu-content {
  width: 244px;
  height: 454px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding-top: 6px;
}

.menu-item {
  height: 64px;
  line-height: 66px;
  font-size: 16px;
  padding: 0 24px;
  position: relative;
}

.menu-item a:link,
.menu-item a:visited {
  color: #fff;
}

.menu-item a {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 8px;
  height: 63px;
}

.menu-item i {
  position: absolute;
  top: 2px;
  right: 32px;
  font-size: 24px;
  font-family: 'iconfont';
  font-style: normal;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.5);
}

.sub-menu {
  width: 730px;
  height: 458px;
  position: absolute;
  left: 244px;
  top: 0;
  background: #fff;
  border: 1px solid #d9dde1;
  z-index: 999; /*优先级最高*/
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.hide {
  display: none;
}

.inner-box {
  width: 100%;
  height: 100%;
  background: url('../img/fe.png') no-repeat;
  display: none;
}

.sub-inner-box {
  width: 652px;
  margin-left: 40px;
  overflow: hidden;
}

.title {
  color: #f01414;
  margin-top: 28px;
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  margin-bottom: 30px;
}

.sub-row {
  margin-bottom: 25px;
}

.bold {
  font-weight: bold;
}

.mr10 {
  margin-right: 10px;
}

.ml10 {
  margin-left: 10px;
}
